package com.zengqingfa.designpattern.structure.proxy.statics;

/**
 *
 * @fileName: Client
 * @author: zengqf3
 * @date: 2021-4-22 9:00
 * @description:
 */
public class Client {

    public static void main(String[] args) {
        Subject realSubject=new RealSubject();
        Subject proxy = new RealSubjectProxy(realSubject);
        /**
         * 代理对象before....
         * 真实对象的方法
         * 代理对象after....
         */
        proxy.method();
    }
}
